-- GENERATED SPELL FOR [Tor Greycloud] --


function spell0_32941(pUnit, Event) --@Wrath,n/a--
pUnit:FullCastSpellOnTarget(62793,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32941', 1500, 1)
end

function Sorts_32941(pUnit, Event)
local choix_sorts_32941 = math.random(0, 0)
if choix_sorts_32941 == 0 then
pUnit:RegisterEvent('spell0_32941', 1, 1)
end
end

function mob32941_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32941', math.random(1500, 3000), 1)
end

function mob32941_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32941_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32941_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32941, 1, 'mob32941_Action')
RegisterUnitEvent(32941, 2, 'mob32941_Leave')
RegisterUnitEvent(32941, 3, 'mob32941_Kill')
RegisterUnitEvent(32941, 4, 'mob32941_Die')
